package com.sy.entity;

import java.util.Date;

public class Question {
    private Integer id;
    private Integer sno;
    private Integer tno;
    private String ask;
    private String reply;
    private String state;
    private Date createData;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getSno() {
        return sno;
    }

    public void setSno(Integer sno) {
        this.sno = sno;
    }

    public Integer getTno() {
        return tno;
    }

    public void setTno(Integer tno) {
        this.tno = tno;
    }

    public String getAsk() {
        return ask;
    }

    public void setAsk(String ask) {
        this.ask = ask;
    }

    public String getReply() {
        return reply;
    }

    public void setReply(String reply) {
        this.reply = reply;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Date getCreateData() {
        return createData;
    }

    public void setCreateData(Date createData) {
        this.createData = createData;
    }

    @Override
    public String toString() {
        return "Question{" +
                "id=" + id +
                ", sno=" + sno +
                ", tno=" + tno +
                ", ask='" + ask + '\'' +
                ", reply='" + reply + '\'' +
                ", state='" + state + '\'' +
                ", createData=" + createData +
                '}';
    }
}
